package com.xunji.standard.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xunji.standard.entity.CaseShare;
import com.xunji.standard.vo.rep.CaseShareUserResponse;
import com.xunji.standard.vo.req.CaseShareRequest;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xuqiang_imyours
 * @Date: 2025/7/2 16:31
 * @Description:
 **/
public interface CaseShareService extends IService<CaseShare> {
    void add(CaseShareRequest request, String userId);

    ArrayList<CaseShareUserResponse> getListByUserId(String userId, String caseId);

    void deleteById(int id);

    List<String> selectCaseListByUserId(String userId);

    void deleteByCaseId(String caseId);

    void deleteByCaseIdAndUserId(String caseId, String userId);
}
